import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MapComponentComponent } from './map-component/map-component.component';
import { ListComponentComponent } from './list-component/list-component.component';
import { MapServerService } from './map-server/map-server.service';

import { MatListModule } from '@angular/material/list';
import { MatButtonModule } from '@angular/material/button';
import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { FormsModule } from '@angular/forms';

@NgModule({
  declarations: [
    AppComponent,
    MapComponentComponent,
    ListComponentComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    FormsModule,
    BrowserAnimationsModule,
    MatListModule,
    ScrollingModule,
    MatCheckboxModule,
    MatButtonModule
  ],
  providers: [
    MapServerService,
    CdkVirtualScrollViewport
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
